<?php
	$counter = fopen("counter.txt", "r");
	$total = fread($counter, 1024);
	fclose($counter);
	$total = $total + $x;
	$counter = fopen("counter.txt", "w");
	fwrite($counter, $total);
	fclose($counter);
	
	echo '<b>'.$total.' Links Checked!</b>';
?>